package com.ruoyi.fs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 证据规则项目对象 fs_evidence_rule_item
 * 
 * @author hero
 * @date 2024-08-25
 */
public class FsEvidenceRuleItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证据ID */
    private Long itemId;

    /** 规则ID */
    private Long ruleId;

    /** 证据名称 */
    @Excel(name = "证据名称")
    private String name;

    /** 类目 */
    @Excel(name = "类目")
    private Long category;

    /** 目的 */
    @Excel(name = "目的")
    private String md;

    /** 是否必须 */
    @Excel(name = "是否必须")
    private Integer required;

    /** 匹配字段 */
    @Excel(name = "匹配字段")
    private String mapping;

    /** 排序 */
    private Long order;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCategory(Long category) 
    {
        this.category = category;
    }

    public Long getCategory() 
    {
        return category;
    }
    public void setMd(String md) 
    {
        this.md = md;
    }

    public String getMd() 
    {
        return md;
    }
    public void setRequired(Integer required) 
    {
        this.required = required;
    }

    public Integer getRequired() 
    {
        return required;
    }
    public void setMapping(String mapping) 
    {
        this.mapping = mapping;
    }

    public String getMapping() 
    {
        return mapping;
    }
    public void setOrder(Long order) 
    {
        this.order = order;
    }

    public Long getOrder() 
    {
        return order;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("ruleId", getRuleId())
            .append("name", getName())
            .append("category", getCategory())
            .append("md", getMd())
            .append("required", getRequired())
            .append("mapping", getMapping())
            .append("order", getOrder())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
